﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml;

namespace test
{
    class Program
    {
        static void Main(string[] args)
        {
            Response_License_compliance_with_fire_safety_requirements response = new Response_License_compliance_with_fire_safety_requirements()
            {
                BLANK_NUMBER = "123",
                CERTIFICATE_DATE = DateTime.Today,
                CERTIFICATE_DURATION = DateTime.Today,
                CERTIFICATE_NUMBER = "certif_001",
                DEPARTMENT = "ufa",
                INN = "005465784",
                ORGANIZATION_NAME = "Красный ключ", LEGAL_ADDRESS = ""
                
            };
            XmlDocument doc = new XmlDocument();            
            doc = XmlSerialization.RootToXml(response);
            
            Console.WriteLine(doc.InnerXml);
            Console.ReadLine();
        }
    }
}
